package com.xwaf.platform.system.api.entity.auth;

import com.baomidou.mybatisplus.annotations.TableName;
import com.xwaf.platform.common.api.entity.ELItem;
import com.xwaf.platform.system.api.enums.ImportStatus;
import com.xwaf.platform.system.api.enums.ImportType;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * <p>
 * 导入日志
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2020年1月4日 下午2:08:40 <br>
 * @see 无<br>
 *      Copyright (c) 2020, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Data
@TableName(value = "bs_import_log")
public class ImportLog extends ELItem {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "所属企业ID ")
	private String companyId;
	@ApiModelProperty(value = "上传的用户ID ")
	private String userId;
	@ApiModelProperty(value = "上传用户真实姓名 长度(100)")
	private java.lang.String userActualName;
	@ApiModelProperty(value = "上传类型 长度(50)")
	private ImportType type;
	@ApiModelProperty(value = "上传的文件名 长度(100)")
	private java.lang.String fileName;
	@ApiModelProperty(value = "上传文件路径 长度(200)")
	private java.lang.String filePath;
	@ApiModelProperty(value = "上传时间 ")
	private java.util.Date uploadTime;
	@ApiModelProperty(value = "开始解析的时间 ")
	private java.util.Date beginTime;
	@ApiModelProperty(value = "解析完成的时间 ")
	private java.util.Date endTime;
	@ApiModelProperty(value = "状态 长度(20)")
	private ImportStatus status;
	@ApiModelProperty(value = "解析总条数 ")
	private java.lang.Long totalRecord;
	@ApiModelProperty(value = "成功条数 ")
	private java.lang.Long successRecord;
	@ApiModelProperty(value = "失败条数 ")
	private java.lang.Long failRecord;
	@ApiModelProperty(value = "合并成功条数 ")
	private java.lang.Integer mergeRecord;
	@ApiModelProperty(value = "错误文件 长度(100)")
	private java.lang.String errorFileName;
	@ApiModelProperty(value = "错误文件路径 长度(200)")
	private java.lang.String errorFilePath;
	@ApiModelProperty(value = "错误信息 长度(100)")
	private java.lang.String errorMsg;
}
